package com.cloudwise.gproject.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @ fileName:CommonFileService
 * @ description:公共文件处理接口
 * @ author:zhz
 * @ createTime:2021/3/23 15:39
 */
public interface CommonFileService {


    /**
     * 文件上传
     * @param file
     * @param savePath
     * @return  map 放入上传文件名称和上传后文件路径
     */
    Map uploadFile(MultipartFile file,String savePath);
}
